<template>
  <div class="curmbs  common">
    <ul>
      <li v-for="(item, index) in getNavData" :key="index">
        {{ item.name }}
        <span v-if="index !== getNavData.length - 1">/</span>
      </li>
    </ul>
  </div>

</template>

<script>

export default {
  created(){
    console.log(this.getNavData.length - 1);
  },
  props: {
    getNavData: {

    }
  }
}
</script>

<style lang="less" scoped>
.curmbs {
  ul {
    display: flex;

    li {
      font-size: 16px;
      color: #999999;
      line-height: 23px;

      span {
        padding: 0 10px;

      }

      &:last-child {
        color: #333333;
        // span{
        //     display: none;
        // }
      }

    }
  }
}
</style>